/* 
 * Bitmain Tech, Home of Professional Bitmain Tech
 * Copyright 2014 Bitmain Tech Inc. and/or its affiliates and other contributors
 * as indicated by the @author tags. All rights reserved.
 * See the copyright.txt in the distribution for a
 * full listing of individual contributors.
 */
package com.bitmain.mmst.domain;

import com.bitmain.mmst.core.base.BasicDomain;

/**
 * 领域模型：矿机的矿池信息
 *
 * @author Kweny - enkun.jiang@bitmain.com
 * @since 2015年12月18日
 *
 */
public class MinerDetectPool extends BasicDomain {
	private static final long serialVersionUID = -1755349294494802228L;
	/**
	 * 矿池地址
	 */
	private String url;
	/**
	 * 矿池状态
	 */
	private String status;
	/**
	 * 矿工名
	 */
	private String user;
	/**
	 * 优先级
	 */
	private int priority;
	/**
	 * 限额
	 */
	private double quota;
	/**
	 * Work数
	 */
	private long getWorks;
	/**
	 * 矿机最后一次在该矿池上工作的时间
	 */
	private long lastShareTime;
	/**
	 * Share接受数
	 */
	private long accepted;
	/**
	 * Share拒绝数
	 */
	private long rejected;
	/**
	 * 
	 */
	private long discarded;
	/**
	 * Share过期数
	 */
	private long stale;
	/**
	 * 难度
	 */
	private String diff;
	/**
	 * 难度Share请求数
	 */
	private long diff1Shares;
	/**
	 * 难度接受数
	 */
	private long difficultyAccepted;
	/**
	 * 难度拒绝数
	 */
	private long difficultyRejected;
	/**
	 * 难度过期数
	 */
	private long difficultyStale;
	/**
	 * 最后一次难度
	 */
	private long lastShareDifficulty;
	/**
	 * 最高难度
	 */
	private long bestShare;
	/**
	 * @return the url
	 */
	public String getUrl() {
		return url;
	}
	/**
	 * @param url the url to set
	 */
	public void setUrl(String url) {
		this.url = url;
	}
	/**
	 * @return the status
	 */
	public String getStatus() {
		return status;
	}
	/**
	 * @param status the status to set
	 */
	public void setStatus(String status) {
		this.status = status;
	}
	/**
	 * @return the user
	 */
	public String getUser() {
		return user;
	}
	/**
	 * @param user the user to set
	 */
	public void setUser(String user) {
		this.user = user;
	}
	/**
	 * @return the priority
	 */
	public int getPriority() {
		return priority;
	}
	/**
	 * @param priority the priority to set
	 */
	public void setPriority(int priority) {
		this.priority = priority;
	}
	/**
	 * @return the quota
	 */
	public double getQuota() {
		return quota;
	}
	/**
	 * @param quota the quota to set
	 */
	public void setQuota(double quota) {
		this.quota = quota;
	}
	/**
	 * @return the getWorks
	 */
	public long getGetWorks() {
		return getWorks;
	}
	/**
	 * @param getWorks the getWorks to set
	 */
	public void setGetWorks(long getWorks) {
		this.getWorks = getWorks;
	}
	/**
	 * @return the lastShareTime
	 */
	public long getLastShareTime() {
		return lastShareTime;
	}
	/**
	 * @param lastShareTime the lastShareTime to set
	 */
	public void setLastShareTime(long lastShareTime) {
		this.lastShareTime = lastShareTime;
	}
	/**
	 * @return the accepted
	 */
	public long getAccepted() {
		return accepted;
	}
	/**
	 * @param accepted the accepted to set
	 */
	public void setAccepted(long accepted) {
		this.accepted = accepted;
	}
	/**
	 * @return the rejected
	 */
	public long getRejected() {
		return rejected;
	}
	/**
	 * @param rejected the rejected to set
	 */
	public void setRejected(long rejected) {
		this.rejected = rejected;
	}
	/**
	 * @return the discarded
	 */
	public long getDiscarded() {
		return discarded;
	}
	/**
	 * @param discarded the discarded to set
	 */
	public void setDiscarded(long discarded) {
		this.discarded = discarded;
	}
	/**
	 * @return the stale
	 */
	public long getStale() {
		return stale;
	}
	/**
	 * @param stale the stale to set
	 */
	public void setStale(long stale) {
		this.stale = stale;
	}
	/**
	 * @return the diff
	 */
	public String getDiff() {
		return diff;
	}
	/**
	 * @param diff the diff to set
	 */
	public void setDiff(String diff) {
		this.diff = diff;
	}
	/**
	 * @return the diff1Shares
	 */
	public long getDiff1Shares() {
		return diff1Shares;
	}
	/**
	 * @param diff1Shares the diff1Shares to set
	 */
	public void setDiff1Shares(long diff1Shares) {
		this.diff1Shares = diff1Shares;
	}
	/**
	 * @return the difficultyAccepted
	 */
	public long getDifficultyAccepted() {
		return difficultyAccepted;
	}
	/**
	 * @param difficultyAccepted the difficultyAccepted to set
	 */
	public void setDifficultyAccepted(long difficultyAccepted) {
		this.difficultyAccepted = difficultyAccepted;
	}
	/**
	 * @return the difficultyRejected
	 */
	public long getDifficultyRejected() {
		return difficultyRejected;
	}
	/**
	 * @param difficultyRejected the difficultyRejected to set
	 */
	public void setDifficultyRejected(long difficultyRejected) {
		this.difficultyRejected = difficultyRejected;
	}
	/**
	 * @return the difficultyStale
	 */
	public long getDifficultyStale() {
		return difficultyStale;
	}
	/**
	 * @param difficultyStale the difficultyStale to set
	 */
	public void setDifficultyStale(long difficultyStale) {
		this.difficultyStale = difficultyStale;
	}
	/**
	 * @return the lastShareDifficulty
	 */
	public long getLastShareDifficulty() {
		return lastShareDifficulty;
	}
	/**
	 * @param lastShareDifficulty the lastShareDifficulty to set
	 */
	public void setLastShareDifficulty(long lastShareDifficulty) {
		this.lastShareDifficulty = lastShareDifficulty;
	}
	/**
	 * @return the bestShare
	 */
	public long getBestShare() {
		return bestShare;
	}
	/**
	 * @param bestShare the bestShare to set
	 */
	public void setBestShare(long bestShare) {
		this.bestShare = bestShare;
	}

}
